package com.lanou3g.ptp.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(description = "审批")
public class Approval implements Serializable {
    @ApiModelProperty("审批id")
    private Long id;
    @ApiModelProperty("用户名字")
    private String userName;
    @ApiModelProperty("学生id")
    private Long studentId ;
    @ApiModelProperty("请假类型")
    private Long type;
    @ApiModelProperty("请假理由")
    private String reason ;
    @ApiModelProperty("开始时间")
    private Date startTime ;
    @ApiModelProperty("结束时间")
    private Date overTime;
    @ApiModelProperty("审批人名字")
    private String approvalName ;
    @ApiModelProperty("审批时间")
    private Date  approvalTime ;
    @ApiModelProperty("申请资料照片地址")
    private String photo;
    @ApiModelProperty("创建时间")
    private Date createTime  ;
    @ApiModelProperty("更改时间")
    private Date updateTime ;
    @ApiModelProperty("0(已提交) 1(同意) 2(拒绝)")
    private int status ;

}
